package com.prnasia.cloud.spring.amp_consul;

import com.prnasia.cloud.spring.entity.config.SendmailConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by Wen Gao on 2019/4/11.
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigurationProperties({SendmailConfig.class})
public class AmpConsulApp {

    public static void main(String[] args) {
        SpringApplication.run(AmpConsulApp.class, args);
    }


}
